From 38539de55fb54b72f3aa5add2f301ea29edcf3dd Mon Sep 17 00:00:00 2001 From: "iap10@spot.cl.cam.ac.uk" Date: Sun, 19 Jun 2005 10:28:07 +0000 Subject: [PATCH] bitkeeper revision 1.1718.2.1 (42b548b7ux2RLNcFOrtdJXuEMvLNEw) This patch allows user to choose mirror to get linux kernel source instead of getting it from kernel.org (which set as default) --- BitKeeper/etc/logging_ok | 1 + Config.mk | 3 +++ buildconfigs/Rules.mk | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index afc6cd647f..0a5c65b3d9 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -38,6 +38,7 @@ iap10@labyrinth.cl.cam.ac.uk iap10@nidd.cl.cam.ac.uk iap10@pb001.cl.cam.ac.uk iap10@pb007.cl.cam.ac.uk +iap10@spot.cl.cam.ac.uk iap10@striker.cl.cam.ac.uk iap10@tetris.cl.cam.ac.uk jrb44@plym.cl.cam.ac.uk diff --git a/Config.mk b/Config.mk index b3320b2711..390a9b3abe 100644 --- a/Config.mk +++ b/Config.mk @@ -31,3 +31,6 @@ endif LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i)) + +# Choose the best mirror to download linux kernel +KERNEL_REPO = http://www.kernel.org diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index fe02b1e11b..99b5ca050e 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -27,7 +27,7 @@ vpath linux-%.tar.bz2 $(LINUX_SRC_PATH) linux-%.tar.bz2: override _LINUX_VDIR = $(word 1,$(subst ., ,$*)).$(word 2,$(subst ., ,$*)) linux-%.tar.bz2: @echo "Cannot find $@ in path $(LINUX_SRC_PATH)" - wget http://www.kernel.org/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@ + wget $(KERNEL_REPO)/pub/linux/kernel/v$(_LINUX_VDIR)/$@ -O./$@ # Expand NetBSD release to NetBSD version NETBSD_RELEASE ?= 2.0 -- 2.30.2